#ifndef USER_H_
#define USER_H_






#define SSID_KEY "SSID"
#define PASS_KEY "PASS"
#define CONNECT_FLAG "CFLAG"
#define WEATHER_ID "APPID"
#define WEATHER_SECRET "APPSECRET"

typedef struct {
    char city[16];
    char date[12];
    char wea[24];
    char wea_img[8];
    char tem_day[4];
    char tem_night[4];
    char win[24];
    char win_speed[24];
} weather_t;

typedef struct {
    char city[16];
    char date[12];
    char week[8];
    char wea[24];
    char wea_img[8];
    char tem[4];
    char tem_day[4];
    char tem_night[4];
    char win[24];
    char win_speed[24];
    char win_meter[12];
    char air[4];
    char pressure[8];
    char humidity[8];
} dayweather_t;

uint8_t wifi_connect(char* ssid, char* passwd);
void user_queue_init(void);
void auto_connect_set_save(void);


#endif /* EVENT_CB_H_ */
